import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

import user from './modules/user'
import leftNavBar from './modules/leftNavBar'
import stationMonitor from './modules/stationMonitor'
import monitorDispatch from './modules/monitorDispatch'
import contentPlot from './modules/contentPlot'
import historyData from './modules/historyData'
import waterQuality from './modules/waterQuality'
import polluteEvent from './modules/polluteEvent'
import myPaging from './modules/myPaging'
import mobileMonitor from './modules/mobileMonitor'
import dailyAdmin from './modules/dailyAdmin'
import watersStation from './modules/watersStation'
import assetAdmin from './modules/assetAdmin'
import myHeader from './modules/myHeader'
import information from './modules/information'
import systemAdmin from './modules/systemAdmin'
import warningAdmin from './modules/warningAdmin'
import feedback from './modules/feedback'
import layout from './modules/layout'
import timePickerMini from './modules/timePickerMini'
import transportAdmin from './modules/transportAdmin'
import operationList from './modules/operationList'

export default new Vuex.Store({
  strict: true,
  modules: {
    user,
    leftNavBar,
    stationMonitor,
    monitorDispatch,
    contentPlot,
    historyData,
    waterQuality,
    polluteEvent,
    myPaging,
    mobileMonitor,
    dailyAdmin,
    watersStation,
    assetAdmin,
    myHeader,
    information,
    systemAdmin,
    warningAdmin,
    feedback,
    layout,
    timePickerMini,
    transportAdmin,
    operationList
  }
})
